<template>
    <div>
       <test>

           <template slot-scope="pro">
               <subTest :fatherInfo="pro">

               </subTest>
           </template>
           
       </test>
    </div>
</template>
<script>
import test from './test'
import subTest from './subText'
export default {
    name:'helloWord',
    components:{test,subTest},
    data () {
        return {
            msg:'subTest : Welcome to amazing Vue World 大师傅似的!'
        }
    },
    mounted () {
        
    }
}
</script>
<style lang="less" scoped>
    h2{
        color:blue;
    }
    .bgTest{
        width:100%;
        height: 300px;
        background:url(~@/assets/test.jpg) no-repeat center top;
        background-size:100% auto;
        display:flex;
    }
</style>